﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common.Library.StringExt
{
    /// <summary>
    /// 获取服务器路径
    /// </summary>
    public class ServerAddress
    {
        /// <summary>
        /// 获取程序根目录地址
        /// </summary>
        /// <returns></returns>
        public static string GetAddress()
        {
            string addr = "";
            return addr;
        }

        /// <summary>
        /// 获取程序bin目录
        /// </summary>
        /// <returns></returns>
        public static string GetApplicationBase()
        {
            string addr = System.AppDomain.CurrentDomain.SetupInformation.ApplicationBase;
            return addr;
        }



    }
}
